"""
@author: yinjx
@file: settings.py
@time: 2023/8/2 16:31
"""
DEBUG = True
HOST = "0.0.0.0"
PORT = 8080

#保存用户信息
user_dict = {}

#数据库设置
DB_HOST = "192.168.157.28"
DB_USER = "sc"
DB_SCHEM = "reviewbook"
DB_PORT = 3306
DB_PASS = "123456"

#orm数据库连接设置                            #用户名:密码@数据库地址:端口/数据库名
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://sc:123456@192.168.157.28:3306/reviewbook?charset=utf8'

#内部私钥
SECRET_KEY = "123456"
#过期时间
EXPIRES_IN = 6000